#ifndef _NOKIA7110_H
#define _NOKIA7110_H

#include <reg52.h>
#include <intrins.h>
#include <stdio.h>
#include <string.h>
#define Page   0xb0
#define COL_H4 0x11
#define COL_L4 0x02

sbit LCD_RST=P2^2;    //7110
sbit LCD_CE =P2^0;
sbit LCD_DC =P2^1;
sbit SDIN   =P2^4;
sbit SCLK   =P2^3;

extern void delay_ms(uchar ms);
void Nokia_Write_Byte(uchar dat,uchar com);
void Nokia_Clear();
void Nokia_Init();
void Nokia_Write_Char(uchar c,uchar resverse);
void Nokia_Write_Line(uchar page,uchar col);
void Nokia_Show_String(uchar *str,uchar reverse);
#endif